package com.svse.designPattern.behaviour.command.concretecommand;

import com.svse.designPattern.behaviour.command.command.Code;
import com.svse.designPattern.behaviour.command.receiver.JavaCode;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/6 20:51
 */
public class JavaCoder implements Code {
    private JavaCode javaCode;

    public JavaCoder() {
        javaCode=new JavaCode();
    }

    @Override
    public void codeing() {
        System.out.println("一如java深似海");
        javaCode.codeing();
    }
}
